package com.overlord.im.client.message.resolver;

import com.overlord.im.commons.constant.MsgType;
import com.overlord.im.commons.message.OverlordImMessage;
import io.netty.channel.ChannelHandlerContext;

/**
 * All rights Reserved, Designed By www.szy.cn
 *
 * @author wuwei
 * @title GroupChatMessageResolver
 * @package com.overlord.im.client.message.resolver
 * @date 2021-03-15 16:02
 * @Copyright 2014-现在 All rights reserved. 厦门神州鹰软件科技有限公司
 */
public class GroupChatMessageResolver implements MessageResolver {
    @Override
    public boolean support(OverlordImMessage message) {
        return message.getMsgType() == MsgType.GROUP_CHAT;
    }

    @Override
    public void resolve(OverlordImMessage message, ChannelHandlerContext ctx) {

    }
}
